<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <title>Examples</title>
    <meta name="viewport"
        content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <meta name="description" content="" />
    <meta name="keywords" content="" />
    <link href="" rel="stylesheet" />
</head>

<body>
    <div id="app">
        <abc>天安门上太阳升</abc>
        <abc><b>五星红旗</b></abc>
        <abc>迎风飘扬·</abc>

    </div>
    <script src="../vue.js"></script>
    <script>
        Vue.component("abc",{
            template:`<div>我爱北京天安门
            <slot></slot>
            </div>`
        })
        new Vue({
            el: "#app",
            data: {}
        })
    </script>
</body>

</html>